﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;

namespace Loki.UI.Win
{
    public class HasValueConverter : IValueConverter
    {
        public object Convert(object P_Value, Type P_TargetType, object P_Parameter, CultureInfo P_Culture)
        {
            return P_Value != null;
        }

        public object ConvertBack(object P_Value, Type P_TargetType, object P_Parameter, CultureInfo P_Culture)
        {
            throw new NotImplementedException();
        }
    }
}
